<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<link rel="stylesheet" type="text/css" href="css/manager.css">

  </head>
  
  <body>
  	<h1 style="margin-bottom:0px;">查找文章</h1>
  	<hr style="border:1px dashed #AAA;"/>
  	<input type="button" value="返 回" onclick="history.back();">
  	<input type="button" value="前 进" onclick="history.forward();">
  	<input type="button" value="刷 新" onclick="location.reload();">
  	<div style="height:10px;"></div>
    <form action="article.do" method="post">
    <input type="hidden" name="method" value="findByType">
    <ul>
    	<li>
    	文章类型：
    	<select name="atype" style="width:200px;">
    		<c:forEach items="${articleType}" var="type">
    			<option value="${type.key}">${type.value}</option>
    		</c:forEach>
    	</select>
    	<input type="submit" alt="notNull" value="确 定 ">
    	</li>
    </ul>
    </form>
  </body>
  <script type="text/javascript" src="js/javer.js"></script>
  <script type="text/javascript" src="js/validate.js"></script>
</html>
